<!DOCTYPE HTML>
<html lang="zh">
<head>
<title>Hibernate ORM 用户指南 - Hibernate ORM User Guide | Docs4dev</title>
<meta charset="UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta name="description" content="Hibernate是一个开放源代码的对象关系映射框架，它对JDBC进行了非常轻量级的对象封装，它将POJO与数据库表建立映射关系，是一个全自动的orm框架，hibernate可以自动生成SQL语句，自动执行，使得Java程序员可以随心所欲的使用对象编程思维来操纵数据库。">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="HandheldFriendly" content="true">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta property="og:type" content="website">
<meta property="og:title" content="Hibernate ORM 用户指南 - Hibernate ORM User Guide">
<meta property="og:url" content="https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/">
<meta property="og:site_name" content="Docs4dev">
<meta property="og:locale" content="zh_CN">
<meta name="twitter:card" content="Hibernate是一个开放源代码的对象关系映射框架，它对JDBC进行了非常轻量级的对象封装，它将POJO与数据库表建立映射关系，是一个全自动的orm框架，hibernate可以自动生成SQL语句，自动执行，使得Java程序员可以随心所欲的使用对象编程思维来操纵数据库。">
<meta name="generator" content="Docs4dev template engine">
<link rel="stylesheet" href="static/css/app.min.css">
<link rel="shortcut icon" href="https://www.docs4dev.com/static/images/favicon.ico" type="image/x-icon">
<script async="" src="static/js/js.js"></script>
<script async="" src="static/js/adsbygoogle.js" crossorigin="anonymous"></script>
<script>
    window.dataLayer = window.dataLayer || [];

    function gtag() {
      dataLayer.push(arguments);
    }

    gtag('js', new Date());
    gtag('config', 'UA-129571937-1');
  </script>
<link rel="amphtml" href="https://www.docs4dev.com/amp/docs/zh/hibernate-orm/5.4/reference/index.html">

<script type="application/ld+json">{"name":null,"headline":"Hibernate ORM 用户指南-Hibernate ORM User Guide","inLanguage":"zh-CN","version":"5.4","image":"/static/icon/icon-hibernate.jpg","datePublished":"2021-05-20T12:51:01Z","dateCreated":"2021-05-20T12:51:01Z","dateModified":"2021-07-03T12:24:36Z","@context":"https://schema.org/","@type":"APIReference","abstract":"Hibernate是一个开放源代码的对象关系映射框架，它对JDBC进行了非常轻量级的对象封装，它将POJO与数据库表建立映射关系，是一个全自动的orm框架，hibernate可以自动生成SQL语句，自动执行，使得Java程序员可以随心所欲的使用对象编程思维来操纵数据库。"}</script>
</head>
<body>
<div class="book with-summary">
<div class="book-summary">
<div class="logo">
<a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference');" style="color: inherit;">
<img src="static/picture/icon-hibernate.jpg" style="width: 48px; height: 48px;" alt="Logo">
</a>
<b style="color: inherit; margin-left: 8px;">Hibernate ORM 用户指南</b>
</div>
<div class="item">
<div>
<label for="version">版本</label>
<select id="version" onchange="onVersionChange(this)">
<option value="5.4" selected="selected">5.4</option>
</select>
</div>
<div style="margin-top: 8px;">
<label for="language">语言</label>
<select id="language" onchange="onLangChange(this)" value="zh">
<option value="en">English</option>
<option value="zh" selected="selected">中文</option>
</select>
</div>

</div>
<div class="item menus">
<a title="Table of Contents" style="margin-right: 8px;" href="#">
<i class="fa fa-chevron-left"></i>
<span style="margin-left: 2px;">返回目录</span>
</a>
</div>
<nav role="navigation" id="navigation">
<ul class="summary">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#preface');" title="Preface"> Preface </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_get_involved');" title="Get Involved"> Get Involved </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_system_requirements');" title="System Requirements"> System Requirements </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_getting_started_guide');" title="入门指南"> 入门指南 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#architecture');" title="1. Architecture"> 1. Architecture </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#architecture-overview');" title="1.1. Overview"> 1.1. Overview </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#domain-model');" title="2. Domain Model"> 2. Domain Model </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#mapping-types');" title="2.1. Map 类型"> 2.1. Map 类型 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#naming');" title="2.2. 命名策略"> 2.2. 命名策略 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#basic');" title="2.3. 基本类型"> 2.3. 基本类型 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#embeddables');" title="2.4. 可嵌入类型"> 2.4. 可嵌入类型 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#entity');" title="2.5. 实体类型"> 2.5. 实体类型 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#identifiers');" title="2.6. Identifiers"> 2.6. Identifiers </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#associations');" title="2.7. Associations"> 2.7. Associations </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#collections');" title="2.8. Collections"> 2.8. Collections </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#naturalid');" title="2.9. 自然 ID"> 2.9. 自然 ID </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#dynamic-model');" title="2.10. 动态模型"> 2.10. 动态模型 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#entity-inheritance');" title="2.11. Inheritance"> 2.11. Inheritance </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#entity-immutability');" title="2.12. Immutability"> 2.12. Immutability </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#bootstrap');" title="3. Bootstrap"> 3. Bootstrap </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#bootstrap-native');" title="3.1. 本机引导"> 3.1. 本机引导 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#bootstrap-jpa');" title="3.2. JPA 引导"> 3.2. JPA 引导 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#schema-generation');" title="4. Schema generation"> 4. Schema generation </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#schema-generation-script-files');" title="4.1. 导入脚本文件"> 4.1. 导入脚本文件 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#schema-generation-database-objects');" title="4.2. 数据库对象"> 4.2. 数据库对象 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#schema-generation-database-checks');" title="4.3. 数据库级检查"> 4.3. 数据库级检查 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#schema-generation-column-default-value');" title="4.4. 数据库列的默认值"> 4.4. 数据库列的默认值 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#schema-generation-columns-unique-constraint');" title="4.5. 列的唯一约束"> 4.5. 列的唯一约束 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#schema-generation-columns-index');" title="4.6. 列索引"> 4.6. 列索引 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#pc');" title="5. Persistence Context"> 5. Persistence Context </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#pc-unwrap');" title="5.1. 从 JPA 访问 Hibernate API"> 5.1. 从 JPA 访问 Hibernate API </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#BytecodeEnhancement');" title="5.2. 字节码增强"> 5.2. 字节码增强 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#pc-persist');" title="5.3. 使实体持久化"> 5.3. 使实体持久化 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#pc-remove');" title="5.4. 删除(删除)实体"> 5.4. 删除(删除)实体 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#pc-get-reference');" title="5.5. 获取实体引用而不初始化其数据"> 5.5. 获取实体引用而不初始化其数据 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#pc-find');" title="5.6. 获取已初始化其数据的实体"> 5.6. 获取已初始化其数据的实体 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#pc-by-multiple-ids');" title="5.7. 通过其标识符获取多个实体"> 5.7. 通过其标识符获取多个实体 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#pc-find-natural-id');" title="5.8. 通过 natural-id 获取实体"> 5.8. 通过 natural-id 获取实体 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#pc-filtering');" title="5.9. 过滤实体和关联"> 5.9. 过滤实体和关联 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#pc-managed-state');" title="5.10. 修改 Management/永久状态"> 5.10. 修改 Management/永久状态 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#pc-refresh');" title="5.11. 刷新实体状态"> 5.11. 刷新实体状态 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#pc-detach');" title="5.12. 处理分离的数据"> 5.12. 处理分离的数据 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#pc-contains');" title="5.13. 检查持久状态"> 5.13. 检查持久状态 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_evicting_entities');" title="5.14. 逐出实体"> 5.14. 逐出实体 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#pc-cascade');" title="5.15. 级联实体状态转换"> 5.15. 级联实体状态转换 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#pc-exception-handling');" title="5.16. 异常处理"> 5.16. 异常处理 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#flushing');" title="6. Flushing"> 6. Flushing </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#flushing-auto');" title="6.1. 自动冲洗"> 6.1. 自动冲洗 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#flushing-commit');" title="6.2. 提交刷新"> 6.2. 提交刷新 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#flushing-always');" title="6.3. 总是同花"> 6.3. 总是同花 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#flushing-manual');" title="6.4. 手动冲洗"> 6.4. 手动冲洗 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#flushing-order');" title="6.5. 冲洗操作 Sequences"> 6.5. 冲洗操作 Sequences </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#database');" title="7. Database access"> 7. Database access </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#database-connectionprovider');" title="7.1. ConnectionProvider"> 7.1. ConnectionProvider </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#database-connectionprovider-datasource');" title="7.2. 使用数据源"> 7.2. 使用数据源 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#database-connectionprovider-driver');" title="7.3. 驱动程序配置"> 7.3. 驱动程序配置 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#database-connectionprovider-c3p0');" title="7.4. 使用 c3p0"> 7.4. 使用 c3p0 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#database-connectionprovider-proxool');" title="7.5. 使用 Proxool"> 7.5. 使用 Proxool </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#database-connectionprovider-hikari');" title="7.6. 使用 HikariCP"> 7.6. 使用 HikariCP </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#database-connectionprovider-vibur');" title="7.7. 使用 Vibur DBCP"> 7.7. 使用 Vibur DBCP </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#database-connectionprovider-agroal');" title="7.8. 使用农业"> 7.8. 使用农业 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#database-connectionprovider-drivermanager');" title="7.9. 使用 Hibernate 的内置(且不受支持)池"> 7.9. 使用 Hibernate 的内置(且不受支持)池 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#database-connectionprovider-provided');" title="7.10. 用户提供的连接"> 7.10. 用户提供的连接 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#database-connectionprovider-isolation');" title="7.11. ConnectionProvider 支持事务隔离设置"> 7.11. ConnectionProvider 支持事务隔离设置 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#database-connection-handling');" title="7.12. 连接处理"> 7.12. 连接处理 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#database-dialect');" title="7.13. 数据库方言"> 7.13. 数据库方言 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#transactions');" title="8. Transaction 和并发控制"> 8. Transaction 和并发控制 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#transactions-physical');" title="8.1. 实物 Transaction"> 8.1. 实物 Transaction </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#transactions-physical-jtaplatform');" title="8.2. JTA 配置"> 8.2. JTA 配置 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#transactions-api');" title="8.3. Hibernate Transaction API"> 8.3. Hibernate Transaction API </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#architecture-current-session');" title="8.4. 内容相关的会话"> 8.4. 内容相关的会话 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_transactional_patterns_and_anti_patterns');" title="8.5. Transaction 模式(和反模式)"> 8.5. Transaction 模式(和反模式) </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#jndi');" title="9. JNDI"> 9. JNDI </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#locking');" title="10. Locking"> 10. Locking </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#locking-optimistic');" title="10.1. Optimistic"> 10.1. Optimistic </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#locking-pessimistic');" title="10.2. Pessimistic"> 10.2. Pessimistic </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#locking-LockMode');" title="10.3. LockMode 和 LockModeType"> 10.3. LockMode 和 LockModeType </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#locking-jpa-query-hints');" title="10.4. JPA 锁定查询提示"> 10.4. JPA 锁定查询提示 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#locking-buildLockRequest');" title="10.5. buildLockRequest API"> 10.5. buildLockRequest API </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#locking-follow-on');" title="10.6. Follow-on-locking"> 10.6. Follow-on-locking </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#fetching');" title="11. Fetching"> 11. Fetching </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#fetching-basics');" title="11.1. 基础"> 11.1. 基础 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#fetching-direct-vs-query');" title="11.2. 直接提取与实体查询"> 11.2. 直接提取与实体查询 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#fetching-strategies');" title="11.3. 应用提取策略"> 11.3. 应用提取策略 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#fetching-strategies-no-fetching');" title="11.4. 无法提取"> 11.4. 无法提取 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#fetching-strategies-dynamic-fetching');" title="11.5. 通过查询动态获取"> 11.5. 通过查询动态获取 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#fetching-strategies-dynamic-fetching-entity-graph');" title="11.6. 通过 JPA 实体图动态获取"> 11.6. 通过 JPA 实体图动态获取 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#fetching-strategies-dynamic-fetching-profile');" title="11.7. 通过 Hibernate 配置文件动态获取"> 11.7. 通过 Hibernate 配置文件动态获取 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#fetching-batch');" title="11.8. 批量提取"> 11.8. 批量提取 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#fetching-fetch-annotation');" title="11.9. @FetchCommentsMap"> 11.9. @FetchCommentsMap </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#fetching-fetchmode-select');" title="11.10. FetchMode.SELECT"> 11.10. FetchMode.SELECT </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#fetching-fetchmode-subselect');" title="11.11. FetchMode.SUBSELECT"> 11.11. FetchMode.SUBSELECT </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#fetching-fetchmode-join');" title="11.12. FetchMode.JOIN"> 11.12. FetchMode.JOIN </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#fetching-LazyCollection');" title="11.13. @LazyCollection"> 11.13. @LazyCollection </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#batch');" title="12. Batching"> 12. Batching </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#batch-jdbcbatch');" title="12.1. JDBC 批处理"> 12.1. JDBC 批处理 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#batch-session-batch');" title="12.2. 会话批处理"> 12.2. 会话批处理 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#batch-bulk-hql');" title="12.3. DML 的休眠查询语言"> 12.3. DML 的休眠查询语言 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#caching');" title="13. Caching"> 13. Caching </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#caching-config');" title="13.1. 配置二级缓存"> 13.1. 配置二级缓存 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#caching-mappings');" title="13.2. 配置二级缓存 Map"> 13.2. 配置二级缓存 Map </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#caching-mappings-inheritance');" title="13.3. 实体继承和二级缓存 Map"> 13.3. 实体继承和二级缓存 Map </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#caching-entity');" title="13.4. 实体缓存"> 13.4. 实体缓存 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#caching-collection');" title="13.5. 集合缓存"> 13.5. 集合缓存 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#caching-query');" title="13.6. 查询缓存"> 13.6. 查询缓存 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#caching-management');" title="13.7. Management 缓存的数据"> 13.7. Management 缓存的数据 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#caching-statistics');" title="13.8. 缓存统计信息"> 13.8. 缓存统计信息 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#caching-provider-jcache');" title="13.9. JCache"> 13.9. JCache </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#caching-provider-ehcache');" title="13.10. Ehcache"> 13.10. Ehcache </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#caching-provider-infinispan');" title="13.11. Infinispan"> 13.11. Infinispan </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#events');" title="14. 拦截器和事件"> 14. 拦截器和事件 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#events-interceptors');" title="14.1. Interceptors"> 14.1. Interceptors </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#events-events');" title="14.2. 本机事件系统"> 14.2. 本机事件系统 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#events-mixing-events-and-interceptors');" title="14.3. 混合事件和拦截器"> 14.3. 混合事件和拦截器 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#events-declarative-security');" title="14.4. Hibernate 声明式安全"> 14.4. Hibernate 声明式安全 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#events-jpa-callbacks');" title="14.5. JPA 回调"> 14.5. JPA 回调 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#events-default-listener');" title="14.6. 默认实体侦听器"> 14.6. 默认实体侦听器 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql');" title="15. HQL 和 JPQL"> 15. HQL 和 JPQL </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-examples-domain-model');" title="15.1. 域模型示例"> 15.1. 域模型示例 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#query-api');" title="15.2. 查询 API"> 15.2. 查询 API </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-case-sensitivity');" title="15.3. 区分大小写"> 15.3. 区分大小写 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-statement-types');" title="15.4. 语句类型"> 15.4. 语句类型 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-select');" title="15.5. 选择语句"> 15.5. 选择语句 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-update');" title="15.6. 更新语句"> 15.6. 更新语句 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-delete');" title="15.7. 删除语句"> 15.7. 删除语句 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-insert');" title="15.8. 插入语句"> 15.8. 插入语句 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-from-clause');" title="15.9. FROM 子句"> 15.9. FROM 子句 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-identification-variables');" title="15.10. 识别变量"> 15.10. 识别变量 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-root-reference');" title="15.11. 根实体引用"> 15.11. 根实体引用 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-explicit-join');" title="15.12. 明确加入"> 15.12. 明确加入 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-implicit-join');" title="15.13. 隐式联接(路径表达式)"> 15.13. 隐式联接(路径表达式) </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-distinct');" title="15.14. Distinct"> 15.14. Distinct </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-collection-valued-associations');" title="15.15. 集合成员参考"> 15.15. 集合成员参考 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-collection-qualification');" title="15.16. 特殊情况-限定的路径表达式"> 15.16. 特殊情况-限定的路径表达式 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-polymorphism');" title="15.17. Polymorphism"> 15.17. Polymorphism </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-expressions');" title="15.18. Expressions"> 15.18. Expressions </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-identification-variable');" title="15.19. 识别变量"> 15.19. 识别变量 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-path-expressions');" title="15.20. 路径表达式"> 15.20. 路径表达式 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-literals');" title="15.21. Literals"> 15.21. Literals </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-numeric-arithmetic');" title="15.22. Arithmetic"> 15.22. Arithmetic </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-concatenation');" title="15.23. 串联(操作)"> 15.23. 串联(操作) </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-aggregate-functions');" title="15.24. 汇总功能"> 15.24. 汇总功能 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-exp-functions');" title="15.25. 标量函数"> 15.25. 标量函数 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#jpql-standardized-functions');" title="15.26. JPQL 标准化功能"> 15.26. JPQL 标准化功能 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-functions');" title="15.27. HQL 功能"> 15.27. HQL 功能 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-user-defined-functions');" title="15.28. 用户定义的功能"> 15.28. 用户定义的功能 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-collection-expressions');" title="15.29. 与集合相关的表达式"> 15.29. 与集合相关的表达式 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-entity-type-exp');" title="15.30. 实体类型"> 15.30. 实体类型 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-case-expressions');" title="15.31. CASE 表达式"> 15.31. CASE 表达式 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-simple-case-expressions');" title="15.32. 简单的 CASE 表达式"> 15.32. 简单的 CASE 表达式 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-searched-case-expressions');" title="15.33. 搜索的 CASE 表达式"> 15.33. 搜索的 CASE 表达式 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-case-arithmetic-expressions');" title="15.34. 具有算术运算的 CASE 表达式"> 15.34. 具有算术运算的 CASE 表达式 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-nullif');" title="15.35. NULLIF 表达式"> 15.35. NULLIF 表达式 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_coalesce_expressions');" title="15.36. COALESCE 表达式"> 15.36. COALESCE 表达式 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-select-clause');" title="15.37. SELECT 子句"> 15.37. SELECT 子句 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-conditional-expressions');" title="15.38. Predicates"> 15.38. Predicates </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-relational-comparisons');" title="15.39. 关系比较"> 15.39. 关系比较 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-null-predicate');" title="15.40. 空 assert"> 15.40. 空 assert </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-like-predicate');" title="15.41. 喜欢谓词"> 15.41. 喜欢谓词 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-between-predicate');" title="15.42. 谓词之间"> 15.42. 谓词之间 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-in-predicate');" title="15.43. 谓词"> 15.43. 谓词 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-exists-predicate');" title="15.44. 存在谓词"> 15.44. 存在谓词 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-empty-collection-predicate');" title="15.45. 空收集谓词"> 15.45. 空收集谓词 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-member-of-collection-predicate');" title="15.46. 收集成员谓词"> 15.46. 收集成员谓词 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-not-predicate');" title="15.47. NOT 谓词运算符"> 15.47. NOT 谓词运算符 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-and-predicate');" title="15.48. AND 谓词运算符"> 15.48. AND 谓词运算符 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-or-predicate');" title="15.49. OR 谓词运算符"> 15.49. OR 谓词运算符 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-where-clause');" title="15.50. WHERE 子句"> 15.50. WHERE 子句 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-group-by');" title="15.51. 分组依据"> 15.51. 分组依据 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-order-by');" title="15.52. 排序"> 15.52. 排序 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-read-only-entities');" title="15.53. 只读实体"> 15.53. 只读实体 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-query-plan-cache');" title="15.54. 实体查询计划缓存"> 15.54. 实体查询计划缓存 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#criteria');" title="16. Criteria"> 16. Criteria </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#criteria-typedquery');" title="16.1. Importing 条件查询"> 16.1. Importing 条件查询 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#criteria-typedquery-entity');" title="16.2. 选择一个实体"> 16.2. 选择一个实体 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#criteria-typedquery-expression');" title="16.3. 选择一个表达式"> 16.3. 选择一个表达式 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#criteria-typedquery-multiselect');" title="16.4. 选择多个值"> 16.4. 选择多个值 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#criteria-typedquery-wrapper');" title="16.5. 选择包装器"> 16.5. 选择包装器 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#criteria-tuple');" title="16.6. Tuples 条件查询"> 16.6. Tuples 条件查询 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#criteria-from');" title="16.7. FROM 子句"> 16.7. FROM 子句 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#criteria-from-root');" title="16.8. Roots"> 16.8. Roots </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#criteria-from-join');" title="16.9. Joins"> 16.9. Joins </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#criteria-from-fetch');" title="16.10. Fetches"> 16.10. Fetches </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#criteria-path');" title="16.11. 路径表达式"> 16.11. 路径表达式 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#criteria-param');" title="16.12. 使用参数"> 16.12. 使用参数 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#criteria-group-by');" title="16.13. 使用分组依据"> 16.13. 使用分组依据 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#sql');" title="17. 本机 SQL 查询"> 17. 本机 SQL 查询 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#sql-jpa-query');" title="17.1. 使用 JPA 创建本机查询"> 17.1. 使用 JPA 创建本机查询 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#sql-scalar-query');" title="17.2. 标量查询"> 17.2. 标量查询 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#sql-entity-query');" title="17.3. 实体查询"> 17.3. 实体查询 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#sql-entity-associations-query');" title="17.4. 处理关联和集合"> 17.4. 处理关联和集合 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#sql-multi-entity-query');" title="17.5. 返回多个实体"> 17.5. 返回多个实体 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#sql-alias-references');" title="17.6. 别名和属性参考"> 17.6. 别名和属性参考 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#sql-dto-query');" title="17.7. 返回 DTO(数据传输对象)"> 17.7. 返回 DTO(数据传输对象) </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#sql-inheritance-query');" title="17.8. 处理继承"> 17.8. 处理继承 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#sql-query-parameters');" title="17.9. Parameters"> 17.9. Parameters </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#sql-named-queries');" title="17.10. 命名的 SQL 查询"> 17.10. 命名的 SQL 查询 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#sql-global-catalog-schema');" title="17.11. 在本机 SQL 查询中解析全局编录和架构"> 17.11. 在本机 SQL 查询中解析全局编录和架构 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#sql-sp');" title="17.12. 使用存储过程进行查询"> 17.12. 使用存储过程进行查询 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#sql-sp-named-query');" title="17.13. 使用命名查询来调用存储过程"> 17.13. 使用命名查询来调用存储过程 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#sql-crud');" title="17.14. CRUD 的自定义 SQL(创建，读取，更新和删除)"> 17.14. CRUD 的自定义 SQL(创建，读取，更新和删除) </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#spatial');" title="18. Spatial"> 18. Spatial </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#spatial-overview');" title="18.1. Overview"> 18.1. Overview </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#spatial-configuration');" title="18.2. Configuration"> 18.2. Configuration </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#spatial-types');" title="18.3. Types"> 18.3. Types </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#multitenacy');" title="19. Multitenancy"> 19. Multitenancy </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#multitenacy-intro');" title="19.1. 什么是多租户？"> 19.1. 什么是多租户？ </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#multitenacy-approaches');" title="19.2. 多租户数据方法"> 19.2. 多租户数据方法 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#multitenacy-discriminator');" title="19.3. 分区(区分)数据"> 19.3. 分区(区分)数据 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#multitenacy-hibernate');" title="19.4. Hibernate 中的多租户"> 19.4. Hibernate 中的多租户 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#osgi');" title="20. OSGi"> 20. OSGi </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_osgi_specification_and_environment');" title="20.1. OSGi 规范和环境"> 20.1. OSGi 规范和环境 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_hibernate_osgi');" title="20.2. hibernate-osgi"> 20.2. hibernate-osgi </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_features_xml');" title="20.3. features.xml"> 20.3. features.xml </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_quickstarts_demos');" title="20.4. QuickStarts/Demos"> 20.4. QuickStarts/Demos </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#osgi-managed-jpa');" title="20.5. 容器 Management 的 JPA"> 20.5. 容器 Management 的 JPA </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_enterprise_osgi_jpa_container');" title="20.6. Enterprise OSGi JPA 容器"> 20.6. Enterprise OSGi JPA 容器 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_persistence_xml');" title="20.7. persistence.xml"> 20.7. persistence.xml </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_datasource');" title="20.8. DataSource"> 20.8. DataSource </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_bundle_package_imports');" title="20.9. Binding 包导入"> 20.9. Binding 包导入 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_obtaining_an_entitymanger');" title="20.10. 获取实体"> 20.10. 获取实体 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#osgi-unmanaged-jpa');" title="20.11. 非托管 JPA"> 20.11. 非托管 JPA </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_persistence_xml_2');" title="20.12. persistence.xml"> 20.12. persistence.xml </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_bundle_package_imports_2');" title="20.13. Binding 包导入"> 20.13. Binding 包导入 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_obtaining_an_entitymangerfactory');" title="20.14. 获取 EntityMangerFactory"> 20.14. 获取 EntityMangerFactory </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#osgi-unmanaged-native');" title="20.15. 非托管本地"> 20.15. 非托管本地 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_bundle_package_imports_3');" title="20.16. Binding 包导入"> 20.16. Binding 包导入 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_obtaining_a_sessionfactory');" title="20.17. 获取 SessionFactory"> 20.17. 获取 SessionFactory </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_optional_modules');" title="20.18. 可选模块"> 20.18. 可选模块 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_extension_points');" title="20.19. 扩展点"> 20.19. 扩展点 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_caveats');" title="20.20. Caveats"> 20.20. Caveats </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers');" title="21. Envers"> 21. Envers </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers-basics');" title="21.1. Basics"> 21.1. Basics </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers-configuration');" title="21.2. 配置属性"> 21.2. 配置属性 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers-additional-mappings');" title="21.3. 其他 MapComments"> 21.3. 其他 MapComments </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers-audit-strategy');" title="21.4. 选择审核策略"> 21.4. 选择审核策略 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers-revisionlog');" title="21.5. 修订日志"> 21.5. 修订日志 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers-tracking-modified-entities-revchanges');" title="21.6. 修订期间修改的跟踪实体名称"> 21.6. 修订期间修改的跟踪实体名称 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers-tracking-properties-changes');" title="21.7. 在属性级别跟踪实体的更改"> 21.7. 在属性级别跟踪实体的更改 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers-tracking-properties-changes-strategy');" title="21.8. 选择用于跟踪属性级别更改的策略"> 21.8. 选择用于跟踪属性级别更改的策略 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers-queries');" title="21.9. Queries"> 21.9. Queries </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#entities-at-revision');" title="21.10. 查询给定版本的类的实体"> 21.10. 查询给定版本的类的实体 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#entities-filtering');" title="21.11. 使用过滤条件查询实体"> 21.11. 使用过滤条件查询实体 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#revisions-of-entity');" title="21.12. 查询修订，给定类的实体已更改"> 21.12. 查询修订，给定类的实体已更改 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers-tracking-properties-changes-queries');" title="21.13. 查询修改了给定属性的实体修订"> 21.13. 查询修改了给定属性的实体修订 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers-tracking-obtain-properties-changed-queries');" title="21.14. 查询实体的修订版，包括已修改的属性名称"> 21.14. 查询实体的修订版，包括已修改的属性名称 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers-tracking-modified-entities-queries');" title="21.15. 查询在给定版本中修改的实体类型"> 21.15. 查询在给定版本中修改的实体类型 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers-querying-entity-relation-joins');" title="21.16. 使用实体关系联接查询实体"> 21.16. 使用实体关系联接查询实体 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers-querying-revision-entities');" title="21.17. 查询修订信息而不加载实体"> 21.17. 查询修订信息而不加载实体 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers-conditional-auditing');" title="21.18. 有条件的审核"> 21.18. 有条件的审核 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers-schema');" title="21.19. 了解 Envers 模式"> 21.19. 了解 Envers 模式 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers-generateschema');" title="21.20. 使用 Hibernate hbm2ddl 工具生成 Envers 模式"> 21.20. 使用 Hibernate hbm2ddl 工具生成 Envers 模式 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers-mappingexceptions');" title="21.21. Mapexception"> 21.21. Mapexception </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_code_onetomany_code_with_code_joincolumn_code');" title="21.22. @OneToMany 和@JoinColumn"> 21.22. @OneToMany 和@JoinColumn </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers-partitioning');" title="21.23. 高级：审核表分区"> 21.23. 高级：审核表分区 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers-partitioning-benefits');" title="21.24. 审核表分区的好处"> 21.24. 审核表分区的好处 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers-partitioning-columns');" title="21.25. 适用于审核表分区的列"> 21.25. 适用于审核表分区的列 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers-partitioning-example');" title="21.26. 审计表分区示例"> 21.26. 审计表分区示例 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers-partitioning-example-column');" title="21.27. 确定合适的分区列"> 21.27. 确定合适的分区列 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers-partitioning-example-scheme');" title="21.28. 确定合适的分区方案"> 21.28. 确定合适的分区方案 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers-links');" title="21.29. 启用链接"> 21.29. 启用链接 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#portability');" title="22. 数据库可移植性注意事项"> 22. 数据库可移植性注意事项 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#portability-basics');" title="22.1. 可移植性基础"> 22.1. 可移植性基础 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#portability-dialect');" title="22.2. Dialect"> 22.2. Dialect </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#portability-dialectresolver');" title="22.3. 方言解析"> 22.3. 方言解析 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#portability-idgen');" title="22.4. 标识符生成"> 22.4. 标识符生成 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#portability-functions');" title="22.5. 数据库功能"> 22.5. 数据库功能 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#portability-types');" title="22.6. 类型 Map"> 22.6. 类型 Map </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#statistics');" title="23. Statistics"> 23. Statistics </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#statistics-methods');" title="23.1. org.hibernate.stat.Statistics 方法"> 23.1. org.hibernate.stat.Statistics 方法 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#statistics-query-max-size');" title="23.2. 查询统计信息的最大大小"> 23.2. 查询统计信息的最大大小 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#statistics-query-plan-cache');" title="23.3. 查询计划缓存统计信息"> 23.3. 查询计划缓存统计信息 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations');" title="24. Configurations"> 24. Configurations </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations-strategy');" title="24.1. 策略配置"> 24.1. 策略配置 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations-general');" title="24.2. 常规配置"> 24.2. 常规配置 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations-jpa-compliance');" title="24.3. JPA 合规"> 24.3. JPA 合规 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations-database-connection');" title="24.4. 数据库连接属性"> 24.4. 数据库连接属性 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations-c3p0');" title="24.5. c3p0 属性"> 24.5. c3p0 属性 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations-mapping');" title="24.6. Map 属性"> 24.6. Map 属性 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations-bytecode-enhancement');" title="24.7. 字节码增强属性"> 24.7. 字节码增强属性 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations-query');" title="24.8. 查询设置"> 24.8. 查询设置 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations-batch');" title="24.9. 批处理属性"> 24.9. 批处理属性 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations-logging');" title="24.10. 语句记录和统计"> 24.10. 语句记录和统计 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations-cache');" title="24.11. 缓存属性"> 24.11. 缓存属性 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations-infinispan');" title="24.12. Infinispan 属性"> 24.12. Infinispan 属性 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations-transactions');" title="24.13. 个 Transaction 属性"> 24.13. 个 Transaction 属性 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations-multi-tenancy');" title="24.14. 多租户设置"> 24.14. 多租户设置 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations-hbmddl');" title="24.15. 自动模式生成"> 24.15. 自动模式生成 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations-exception-handling');" title="24.16. 异常处理"> 24.16. 异常处理 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations-session-events');" title="24.17. 会话事件"> 24.17. 会话事件 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations-jmx');" title="24.18. JMX 设置"> 24.18. JMX 设置 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations-jacc');" title="24.19. JACC 设置"> 24.19. JACC 设置 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations-classloader');" title="24.20. ClassLoaders 属性"> 24.20. ClassLoaders 属性 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations-bootstrap');" title="24.21. 引导程序属性"> 24.21. 引导程序属性 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations-misc');" title="24.22. 其他属性"> 24.22. 其他属性 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations-envers');" title="24.23. 启用属性"> 24.23. 启用属性 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations-spatial');" title="24.24. 空间属性"> 24.24. 空间属性 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations-internal');" title="24.25. 内部属性"> 24.25. 内部属性 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#annotations');" title="25. Mapping annotations"> 25. Mapping annotations </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#annotations-jpa');" title="25.1. JPA 注解"> 25.1. JPA 注解 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#annotations-hibernate');" title="25.2. 休眠 Comments"> 25.2. 休眠 Comments </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#best-practices');" title="26. 性能调优和最佳实践"> 26. 性能调优和最佳实践 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#best-practices-schema');" title="26.1. 模式 Management"> 26.1. 模式 Management </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#best-practices-logging');" title="26.2. Logging"> 26.2. Logging </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#best-practices-jdbc-batching');" title="26.3. JDBC 批处理"> 26.3. JDBC 批处理 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#best-practices-mapping');" title="26.4. Mapping"> 26.4. Mapping </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#best-practices-inheritance');" title="26.5. Inheritance"> 26.5. Inheritance </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#best-practices-fetching');" title="26.6. Fetching"> 26.6. Fetching </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#best-practices-caching');" title="26.7. Caching"> 26.7. Caching </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#appendix-legacy-bootstrap');" title="27. Legacy Bootstrapping"> 27. Legacy Bootstrapping </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_migration');" title="28. Migration"> 28. Migration </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#appendix-legacy-domain-model');" title="29. 传统域模型"> 29. 传统域模型 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#appendix-legacy-criteria');" title="30. 旧版休眠标准查询"> 30. 旧版休眠标准查询 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#criteria-creating');" title="30.1. 创建条件实例"> 30.1. 创建条件实例 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#criteria-entity-name');" title="30.2. JPA 与 Hibernate 实体名称"> 30.2. JPA 与 Hibernate 实体名称 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#criteria-narrowing');" title="30.3. 缩小结果集"> 30.3. 缩小结果集 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#criteria-ordering');" title="30.4. Order 结果"> 30.4. Order 结果 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#criteria-associations');" title="30.5. Associations"> 30.5. Associations </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#criteria-dynamicfetching');" title="30.6. 动态关联获取"> 30.6. 动态关联获取 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#criteria-components');" title="30.7. Components"> 30.7. Components </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#criteria-collections');" title="30.8. Collections"> 30.8. Collections </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#criteria-examples');" title="30.9. 查询示例"> 30.9. 查询示例 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#criteria-projection');" title="30.10. 投影，汇总和分组"> 30.10. 投影，汇总和分组 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#criteria-detachedqueries');" title="30.11. 分离的查询和子查询"> 30.11. 分离的查询和子查询 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#query-criteria-naturalid');" title="30.12. 通过自然标识符查询"> 30.12. 通过自然标识符查询 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#appendix-legacy-native-queries');" title="31. 旧版 Hibernate 原生查询"> 31. 旧版 Hibernate 原生查询 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#legacy-sql-named-queries');" title="31.1. 旧式命名 SQL 查询"> 31.1. 旧式命名 SQL 查询 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#legacy-propertyresults');" title="31.2. 旧版返回属性，用于明确指定列/别名"> 31.2. 旧版返回属性，用于明确指定列/别名 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#legacy-sp_query');" title="31.3. 用于查询的旧式存储过程"> 31.3. 用于查询的旧式存储过程 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#legacy-sql-limits-storedprocedures');" title="31.4. 使用存储过程的旧规则/限制"> 31.4. 使用存储过程的旧规则/限制 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#legacy-sql-cud');" title="31.5. 旧版自定义 SQL，用于创建，更新和删除"> 31.5. 旧版自定义 SQL，用于创建，更新和删除 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#legacy-sql-load');" title="31.6. 用于加载的旧版自定义 SQL"> 31.6. 用于加载的旧版自定义 SQL </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_references');" title="32. References"> 32. References </a> </li>
</ul>
</nav>
</div>
<div class="book-body">
<div class="body-inner">
<header class="book-header">
<div class="dropdown pull-right js-toolbar-action">
<a class="btn toggle-dropdown" aria-label="Language" href="#">
<i class="fa fa-globe"></i>
</a>
<div class="dropdown-menu dropdown-left">
<div class="dropdown-caret"><span class="caret-outer"></span><span class="caret-inner"></span></div>
<div class="buttons">
<button class="button size-1" onclick="changeLang('zh_CN')">中文</button>
</div>
<div class="buttons">
<button class="button size-1" onclick="changeLang('en_US')">English</button>
</div>
</div>
</div>
<a class="btn pull-right js-toolbar-action non-mobile" aria-label="Sign up" href="register.html">
<i class="fa fa-sign-in"></i> <span>注册</span>
</a>
<a class="btn pull-right js-toolbar-action non-mobile" aria-label="Sign in" href="register.html">
<i class="fa fa-sign-in"></i>
<span>登录</span>
</a>
<a class="btn pull-left js-toolbar-action btn-summary" href="#"><i class="fa fa-align-justify"></i></a>
<div class="dropdown pull-left font-settings js-toolbar-action">
<a class="btn toggle-dropdown" aria-label="Font Settings" href="#">
<i class="fa fa-font"></i>
</a>
<div class="dropdown-menu dropdown-right">
<div class="dropdown-caret"><span class="caret-outer"></span><span class="caret-inner"></span></div>
<div class="buttons">
<button class="button size-2 font-reduce">A</button>
<button class="button size-2 font-enlarge">A</button>
</div>
<div class="buttons">
<button class="button size-2 family-serif">Serif</button>
<button class="button size-2 family-sans">Sans</button>
</div>
<div class="buttons">
<button class="button size-3 theme-white">White</button>
<button class="button size-3 theme-sepia">Sepia</button>
<button class="button size-3 theme-night">Night</button>
</div>
</div>
</div>
<a class="btn pull-left js-toolbar-action non-mobile" aria-label="Home" href="zh.html">
<i class="fa fa-home"></i> <span>首页</span>
</a>
<a class="btn pull-left js-toolbar-action non-mobile" aria-label="Guide" href="javascript:window.open('https://www.javadoc.org/');">
<i class="fa fa-book"></i> <span>API Docs</span>
</a>
<a class="btn pull-left js-toolbar-action non-mobile" aria-label="Tools" href="index1.html">
<i class="fa fa-gears"></i> <span>工具</span>
</a>
<div class="dropdown pull-left js-toolbar-action mobile">
<a class="btn toggle-dropdown" aria-label="Language" href="#">
<i class="fa fa-chevron-down"></i>
</a>
<div class="dropdown-menu dropdown-right">
<div class="dropdown-caret"><span class="caret-outer"></span><span class="caret-inner"></span></div>
<div class="buttons">
<a class="button size-1" aria-label="Home" href="zh.html">
<i class="fa fa-home"></i> <span>首页</span>
</a>
</div>
<div class="buttons">
<a class="button size-1" aria-label="Guide" href="javascript:window.open('https://www.javadoc.org/');">
<i class="fa fa-book"></i> <span>API Docs</span>
</a>
</div>
<div class="buttons">
<a class="button size-1" aria-label="Tools" href="index1.html">
<i class="fa fa-gears"></i> <span>工具</span>
</a>
</div>
</div>
</div>
<div id="autocomplete" class="pull-right"></div>
<span id="toolbar-title"></span>
</header>
<div class="page-wrapper" tabindex="-1" role="main">
<div class="page-inner">
<section class="normal markdown-section">
<div id="content">
<h1>Hibernate ORM User Guide</h1>
<div><ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-6108808167664152" data-ad-slot="6964403648"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script></div>
<div><div class="divider">
<span class="divider-inner-text">Table of Contents</span>
</div>
<ul class="toc">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#preface');" title="Preface"> Preface </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_get_involved');" title="Get Involved"> Get Involved </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_system_requirements');" title="System Requirements"> System Requirements </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_getting_started_guide');" title="入门指南"> 入门指南 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#architecture');" title="1. Architecture"> 1. Architecture </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#architecture-overview');" title="1.1. Overview"> 1.1. Overview </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#domain-model');" title="2. Domain Model"> 2. Domain Model </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#mapping-types');" title="2.1. Map 类型"> 2.1. Map 类型 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#naming');" title="2.2. 命名策略"> 2.2. 命名策略 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#basic');" title="2.3. 基本类型"> 2.3. 基本类型 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#embeddables');" title="2.4. 可嵌入类型"> 2.4. 可嵌入类型 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#entity');" title="2.5. 实体类型"> 2.5. 实体类型 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#identifiers');" title="2.6. Identifiers"> 2.6. Identifiers </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#associations');" title="2.7. Associations"> 2.7. Associations </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#collections');" title="2.8. Collections"> 2.8. Collections </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#naturalid');" title="2.9. 自然 ID"> 2.9. 自然 ID </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#dynamic-model');" title="2.10. 动态模型"> 2.10. 动态模型 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#entity-inheritance');" title="2.11. Inheritance"> 2.11. Inheritance </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#entity-immutability');" title="2.12. Immutability"> 2.12. Immutability </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#bootstrap');" title="3. Bootstrap"> 3. Bootstrap </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#bootstrap-native');" title="3.1. 本机引导"> 3.1. 本机引导 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#bootstrap-jpa');" title="3.2. JPA 引导"> 3.2. JPA 引导 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#schema-generation');" title="4. Schema generation"> 4. Schema generation </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#schema-generation-script-files');" title="4.1. 导入脚本文件"> 4.1. 导入脚本文件 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#schema-generation-database-objects');" title="4.2. 数据库对象"> 4.2. 数据库对象 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#schema-generation-database-checks');" title="4.3. 数据库级检查"> 4.3. 数据库级检查 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#schema-generation-column-default-value');" title="4.4. 数据库列的默认值"> 4.4. 数据库列的默认值 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#schema-generation-columns-unique-constraint');" title="4.5. 列的唯一约束"> 4.5. 列的唯一约束 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#schema-generation-columns-index');" title="4.6. 列索引"> 4.6. 列索引 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#pc');" title="5. Persistence Context"> 5. Persistence Context </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#pc-unwrap');" title="5.1. 从 JPA 访问 Hibernate API"> 5.1. 从 JPA 访问 Hibernate API </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#BytecodeEnhancement');" title="5.2. 字节码增强"> 5.2. 字节码增强 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#pc-persist');" title="5.3. 使实体持久化"> 5.3. 使实体持久化 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#pc-remove');" title="5.4. 删除(删除)实体"> 5.4. 删除(删除)实体 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#pc-get-reference');" title="5.5. 获取实体引用而不初始化其数据"> 5.5. 获取实体引用而不初始化其数据 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#pc-find');" title="5.6. 获取已初始化其数据的实体"> 5.6. 获取已初始化其数据的实体 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#pc-by-multiple-ids');" title="5.7. 通过其标识符获取多个实体"> 5.7. 通过其标识符获取多个实体 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#pc-find-natural-id');" title="5.8. 通过 natural-id 获取实体"> 5.8. 通过 natural-id 获取实体 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#pc-filtering');" title="5.9. 过滤实体和关联"> 5.9. 过滤实体和关联 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#pc-managed-state');" title="5.10. 修改 Management/永久状态"> 5.10. 修改 Management/永久状态 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#pc-refresh');" title="5.11. 刷新实体状态"> 5.11. 刷新实体状态 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#pc-detach');" title="5.12. 处理分离的数据"> 5.12. 处理分离的数据 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#pc-contains');" title="5.13. 检查持久状态"> 5.13. 检查持久状态 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_evicting_entities');" title="5.14. 逐出实体"> 5.14. 逐出实体 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#pc-cascade');" title="5.15. 级联实体状态转换"> 5.15. 级联实体状态转换 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#pc-exception-handling');" title="5.16. 异常处理"> 5.16. 异常处理 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#flushing');" title="6. Flushing"> 6. Flushing </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#flushing-auto');" title="6.1. 自动冲洗"> 6.1. 自动冲洗 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#flushing-commit');" title="6.2. 提交刷新"> 6.2. 提交刷新 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#flushing-always');" title="6.3. 总是同花"> 6.3. 总是同花 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#flushing-manual');" title="6.4. 手动冲洗"> 6.4. 手动冲洗 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#flushing-order');" title="6.5. 冲洗操作 Sequences"> 6.5. 冲洗操作 Sequences </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#database');" title="7. Database access"> 7. Database access </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#database-connectionprovider');" title="7.1. ConnectionProvider"> 7.1. ConnectionProvider </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#database-connectionprovider-datasource');" title="7.2. 使用数据源"> 7.2. 使用数据源 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#database-connectionprovider-driver');" title="7.3. 驱动程序配置"> 7.3. 驱动程序配置 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#database-connectionprovider-c3p0');" title="7.4. 使用 c3p0"> 7.4. 使用 c3p0 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#database-connectionprovider-proxool');" title="7.5. 使用 Proxool"> 7.5. 使用 Proxool </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#database-connectionprovider-hikari');" title="7.6. 使用 HikariCP"> 7.6. 使用 HikariCP </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#database-connectionprovider-vibur');" title="7.7. 使用 Vibur DBCP"> 7.7. 使用 Vibur DBCP </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#database-connectionprovider-agroal');" title="7.8. 使用农业"> 7.8. 使用农业 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#database-connectionprovider-drivermanager');" title="7.9. 使用 Hibernate 的内置(且不受支持)池"> 7.9. 使用 Hibernate 的内置(且不受支持)池 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#database-connectionprovider-provided');" title="7.10. 用户提供的连接"> 7.10. 用户提供的连接 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#database-connectionprovider-isolation');" title="7.11. ConnectionProvider 支持事务隔离设置"> 7.11. ConnectionProvider 支持事务隔离设置 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#database-connection-handling');" title="7.12. 连接处理"> 7.12. 连接处理 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#database-dialect');" title="7.13. 数据库方言"> 7.13. 数据库方言 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#transactions');" title="8. Transaction 和并发控制"> 8. Transaction 和并发控制 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#transactions-physical');" title="8.1. 实物 Transaction"> 8.1. 实物 Transaction </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#transactions-physical-jtaplatform');" title="8.2. JTA 配置"> 8.2. JTA 配置 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#transactions-api');" title="8.3. Hibernate Transaction API"> 8.3. Hibernate Transaction API </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#architecture-current-session');" title="8.4. 内容相关的会话"> 8.4. 内容相关的会话 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_transactional_patterns_and_anti_patterns');" title="8.5. Transaction 模式(和反模式)"> 8.5. Transaction 模式(和反模式) </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#jndi');" title="9. JNDI"> 9. JNDI </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#locking');" title="10. Locking"> 10. Locking </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#locking-optimistic');" title="10.1. Optimistic"> 10.1. Optimistic </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#locking-pessimistic');" title="10.2. Pessimistic"> 10.2. Pessimistic </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#locking-LockMode');" title="10.3. LockMode 和 LockModeType"> 10.3. LockMode 和 LockModeType </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#locking-jpa-query-hints');" title="10.4. JPA 锁定查询提示"> 10.4. JPA 锁定查询提示 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#locking-buildLockRequest');" title="10.5. buildLockRequest API"> 10.5. buildLockRequest API </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#locking-follow-on');" title="10.6. Follow-on-locking"> 10.6. Follow-on-locking </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#fetching');" title="11. Fetching"> 11. Fetching </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#fetching-basics');" title="11.1. 基础"> 11.1. 基础 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#fetching-direct-vs-query');" title="11.2. 直接提取与实体查询"> 11.2. 直接提取与实体查询 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#fetching-strategies');" title="11.3. 应用提取策略"> 11.3. 应用提取策略 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#fetching-strategies-no-fetching');" title="11.4. 无法提取"> 11.4. 无法提取 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#fetching-strategies-dynamic-fetching');" title="11.5. 通过查询动态获取"> 11.5. 通过查询动态获取 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#fetching-strategies-dynamic-fetching-entity-graph');" title="11.6. 通过 JPA 实体图动态获取"> 11.6. 通过 JPA 实体图动态获取 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#fetching-strategies-dynamic-fetching-profile');" title="11.7. 通过 Hibernate 配置文件动态获取"> 11.7. 通过 Hibernate 配置文件动态获取 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#fetching-batch');" title="11.8. 批量提取"> 11.8. 批量提取 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#fetching-fetch-annotation');" title="11.9. @FetchCommentsMap"> 11.9. @FetchCommentsMap </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#fetching-fetchmode-select');" title="11.10. FetchMode.SELECT"> 11.10. FetchMode.SELECT </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#fetching-fetchmode-subselect');" title="11.11. FetchMode.SUBSELECT"> 11.11. FetchMode.SUBSELECT </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#fetching-fetchmode-join');" title="11.12. FetchMode.JOIN"> 11.12. FetchMode.JOIN </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#fetching-LazyCollection');" title="11.13. @LazyCollection"> 11.13. @LazyCollection </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#batch');" title="12. Batching"> 12. Batching </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#batch-jdbcbatch');" title="12.1. JDBC 批处理"> 12.1. JDBC 批处理 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#batch-session-batch');" title="12.2. 会话批处理"> 12.2. 会话批处理 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#batch-bulk-hql');" title="12.3. DML 的休眠查询语言"> 12.3. DML 的休眠查询语言 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#caching');" title="13. Caching"> 13. Caching </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#caching-config');" title="13.1. 配置二级缓存"> 13.1. 配置二级缓存 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#caching-mappings');" title="13.2. 配置二级缓存 Map"> 13.2. 配置二级缓存 Map </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#caching-mappings-inheritance');" title="13.3. 实体继承和二级缓存 Map"> 13.3. 实体继承和二级缓存 Map </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#caching-entity');" title="13.4. 实体缓存"> 13.4. 实体缓存 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#caching-collection');" title="13.5. 集合缓存"> 13.5. 集合缓存 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#caching-query');" title="13.6. 查询缓存"> 13.6. 查询缓存 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#caching-management');" title="13.7. Management 缓存的数据"> 13.7. Management 缓存的数据 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#caching-statistics');" title="13.8. 缓存统计信息"> 13.8. 缓存统计信息 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#caching-provider-jcache');" title="13.9. JCache"> 13.9. JCache </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#caching-provider-ehcache');" title="13.10. Ehcache"> 13.10. Ehcache </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#caching-provider-infinispan');" title="13.11. Infinispan"> 13.11. Infinispan </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#events');" title="14. 拦截器和事件"> 14. 拦截器和事件 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#events-interceptors');" title="14.1. Interceptors"> 14.1. Interceptors </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#events-events');" title="14.2. 本机事件系统"> 14.2. 本机事件系统 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#events-mixing-events-and-interceptors');" title="14.3. 混合事件和拦截器"> 14.3. 混合事件和拦截器 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#events-declarative-security');" title="14.4. Hibernate 声明式安全"> 14.4. Hibernate 声明式安全 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#events-jpa-callbacks');" title="14.5. JPA 回调"> 14.5. JPA 回调 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#events-default-listener');" title="14.6. 默认实体侦听器"> 14.6. 默认实体侦听器 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql');" title="15. HQL 和 JPQL"> 15. HQL 和 JPQL </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-examples-domain-model');" title="15.1. 域模型示例"> 15.1. 域模型示例 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#query-api');" title="15.2. 查询 API"> 15.2. 查询 API </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-case-sensitivity');" title="15.3. 区分大小写"> 15.3. 区分大小写 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-statement-types');" title="15.4. 语句类型"> 15.4. 语句类型 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-select');" title="15.5. 选择语句"> 15.5. 选择语句 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-update');" title="15.6. 更新语句"> 15.6. 更新语句 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-delete');" title="15.7. 删除语句"> 15.7. 删除语句 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-insert');" title="15.8. 插入语句"> 15.8. 插入语句 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-from-clause');" title="15.9. FROM 子句"> 15.9. FROM 子句 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-identification-variables');" title="15.10. 识别变量"> 15.10. 识别变量 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-root-reference');" title="15.11. 根实体引用"> 15.11. 根实体引用 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-explicit-join');" title="15.12. 明确加入"> 15.12. 明确加入 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-implicit-join');" title="15.13. 隐式联接(路径表达式)"> 15.13. 隐式联接(路径表达式) </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-distinct');" title="15.14. Distinct"> 15.14. Distinct </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-collection-valued-associations');" title="15.15. 集合成员参考"> 15.15. 集合成员参考 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-collection-qualification');" title="15.16. 特殊情况-限定的路径表达式"> 15.16. 特殊情况-限定的路径表达式 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-polymorphism');" title="15.17. Polymorphism"> 15.17. Polymorphism </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-expressions');" title="15.18. Expressions"> 15.18. Expressions </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-identification-variable');" title="15.19. 识别变量"> 15.19. 识别变量 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-path-expressions');" title="15.20. 路径表达式"> 15.20. 路径表达式 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-literals');" title="15.21. Literals"> 15.21. Literals </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-numeric-arithmetic');" title="15.22. Arithmetic"> 15.22. Arithmetic </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-concatenation');" title="15.23. 串联(操作)"> 15.23. 串联(操作) </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-aggregate-functions');" title="15.24. 汇总功能"> 15.24. 汇总功能 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-exp-functions');" title="15.25. 标量函数"> 15.25. 标量函数 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#jpql-standardized-functions');" title="15.26. JPQL 标准化功能"> 15.26. JPQL 标准化功能 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-functions');" title="15.27. HQL 功能"> 15.27. HQL 功能 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-user-defined-functions');" title="15.28. 用户定义的功能"> 15.28. 用户定义的功能 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-collection-expressions');" title="15.29. 与集合相关的表达式"> 15.29. 与集合相关的表达式 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-entity-type-exp');" title="15.30. 实体类型"> 15.30. 实体类型 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-case-expressions');" title="15.31. CASE 表达式"> 15.31. CASE 表达式 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-simple-case-expressions');" title="15.32. 简单的 CASE 表达式"> 15.32. 简单的 CASE 表达式 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-searched-case-expressions');" title="15.33. 搜索的 CASE 表达式"> 15.33. 搜索的 CASE 表达式 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-case-arithmetic-expressions');" title="15.34. 具有算术运算的 CASE 表达式"> 15.34. 具有算术运算的 CASE 表达式 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-nullif');" title="15.35. NULLIF 表达式"> 15.35. NULLIF 表达式 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_coalesce_expressions');" title="15.36. COALESCE 表达式"> 15.36. COALESCE 表达式 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-select-clause');" title="15.37. SELECT 子句"> 15.37. SELECT 子句 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-conditional-expressions');" title="15.38. Predicates"> 15.38. Predicates </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-relational-comparisons');" title="15.39. 关系比较"> 15.39. 关系比较 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-null-predicate');" title="15.40. 空 assert"> 15.40. 空 assert </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-like-predicate');" title="15.41. 喜欢谓词"> 15.41. 喜欢谓词 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-between-predicate');" title="15.42. 谓词之间"> 15.42. 谓词之间 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-in-predicate');" title="15.43. 谓词"> 15.43. 谓词 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-exists-predicate');" title="15.44. 存在谓词"> 15.44. 存在谓词 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-empty-collection-predicate');" title="15.45. 空收集谓词"> 15.45. 空收集谓词 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-member-of-collection-predicate');" title="15.46. 收集成员谓词"> 15.46. 收集成员谓词 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-not-predicate');" title="15.47. NOT 谓词运算符"> 15.47. NOT 谓词运算符 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-and-predicate');" title="15.48. AND 谓词运算符"> 15.48. AND 谓词运算符 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-or-predicate');" title="15.49. OR 谓词运算符"> 15.49. OR 谓词运算符 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-where-clause');" title="15.50. WHERE 子句"> 15.50. WHERE 子句 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-group-by');" title="15.51. 分组依据"> 15.51. 分组依据 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-order-by');" title="15.52. 排序"> 15.52. 排序 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-read-only-entities');" title="15.53. 只读实体"> 15.53. 只读实体 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#hql-query-plan-cache');" title="15.54. 实体查询计划缓存"> 15.54. 实体查询计划缓存 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#criteria');" title="16. Criteria"> 16. Criteria </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#criteria-typedquery');" title="16.1. Importing 条件查询"> 16.1. Importing 条件查询 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#criteria-typedquery-entity');" title="16.2. 选择一个实体"> 16.2. 选择一个实体 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#criteria-typedquery-expression');" title="16.3. 选择一个表达式"> 16.3. 选择一个表达式 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#criteria-typedquery-multiselect');" title="16.4. 选择多个值"> 16.4. 选择多个值 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#criteria-typedquery-wrapper');" title="16.5. 选择包装器"> 16.5. 选择包装器 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#criteria-tuple');" title="16.6. Tuples 条件查询"> 16.6. Tuples 条件查询 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#criteria-from');" title="16.7. FROM 子句"> 16.7. FROM 子句 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#criteria-from-root');" title="16.8. Roots"> 16.8. Roots </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#criteria-from-join');" title="16.9. Joins"> 16.9. Joins </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#criteria-from-fetch');" title="16.10. Fetches"> 16.10. Fetches </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#criteria-path');" title="16.11. 路径表达式"> 16.11. 路径表达式 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#criteria-param');" title="16.12. 使用参数"> 16.12. 使用参数 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#criteria-group-by');" title="16.13. 使用分组依据"> 16.13. 使用分组依据 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#sql');" title="17. 本机 SQL 查询"> 17. 本机 SQL 查询 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#sql-jpa-query');" title="17.1. 使用 JPA 创建本机查询"> 17.1. 使用 JPA 创建本机查询 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#sql-scalar-query');" title="17.2. 标量查询"> 17.2. 标量查询 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#sql-entity-query');" title="17.3. 实体查询"> 17.3. 实体查询 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#sql-entity-associations-query');" title="17.4. 处理关联和集合"> 17.4. 处理关联和集合 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#sql-multi-entity-query');" title="17.5. 返回多个实体"> 17.5. 返回多个实体 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#sql-alias-references');" title="17.6. 别名和属性参考"> 17.6. 别名和属性参考 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#sql-dto-query');" title="17.7. 返回 DTO(数据传输对象)"> 17.7. 返回 DTO(数据传输对象) </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#sql-inheritance-query');" title="17.8. 处理继承"> 17.8. 处理继承 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#sql-query-parameters');" title="17.9. Parameters"> 17.9. Parameters </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#sql-named-queries');" title="17.10. 命名的 SQL 查询"> 17.10. 命名的 SQL 查询 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#sql-global-catalog-schema');" title="17.11. 在本机 SQL 查询中解析全局编录和架构"> 17.11. 在本机 SQL 查询中解析全局编录和架构 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#sql-sp');" title="17.12. 使用存储过程进行查询"> 17.12. 使用存储过程进行查询 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#sql-sp-named-query');" title="17.13. 使用命名查询来调用存储过程"> 17.13. 使用命名查询来调用存储过程 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#sql-crud');" title="17.14. CRUD 的自定义 SQL(创建，读取，更新和删除)"> 17.14. CRUD 的自定义 SQL(创建，读取，更新和删除) </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#spatial');" title="18. Spatial"> 18. Spatial </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#spatial-overview');" title="18.1. Overview"> 18.1. Overview </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#spatial-configuration');" title="18.2. Configuration"> 18.2. Configuration </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#spatial-types');" title="18.3. Types"> 18.3. Types </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#multitenacy');" title="19. Multitenancy"> 19. Multitenancy </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#multitenacy-intro');" title="19.1. 什么是多租户？"> 19.1. 什么是多租户？ </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#multitenacy-approaches');" title="19.2. 多租户数据方法"> 19.2. 多租户数据方法 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#multitenacy-discriminator');" title="19.3. 分区(区分)数据"> 19.3. 分区(区分)数据 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#multitenacy-hibernate');" title="19.4. Hibernate 中的多租户"> 19.4. Hibernate 中的多租户 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#osgi');" title="20. OSGi"> 20. OSGi </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_osgi_specification_and_environment');" title="20.1. OSGi 规范和环境"> 20.1. OSGi 规范和环境 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_hibernate_osgi');" title="20.2. hibernate-osgi"> 20.2. hibernate-osgi </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_features_xml');" title="20.3. features.xml"> 20.3. features.xml </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_quickstarts_demos');" title="20.4. QuickStarts/Demos"> 20.4. QuickStarts/Demos </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#osgi-managed-jpa');" title="20.5. 容器 Management 的 JPA"> 20.5. 容器 Management 的 JPA </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_enterprise_osgi_jpa_container');" title="20.6. Enterprise OSGi JPA 容器"> 20.6. Enterprise OSGi JPA 容器 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_persistence_xml');" title="20.7. persistence.xml"> 20.7. persistence.xml </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_datasource');" title="20.8. DataSource"> 20.8. DataSource </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_bundle_package_imports');" title="20.9. Binding 包导入"> 20.9. Binding 包导入 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_obtaining_an_entitymanger');" title="20.10. 获取实体"> 20.10. 获取实体 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#osgi-unmanaged-jpa');" title="20.11. 非托管 JPA"> 20.11. 非托管 JPA </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_persistence_xml_2');" title="20.12. persistence.xml"> 20.12. persistence.xml </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_bundle_package_imports_2');" title="20.13. Binding 包导入"> 20.13. Binding 包导入 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_obtaining_an_entitymangerfactory');" title="20.14. 获取 EntityMangerFactory"> 20.14. 获取 EntityMangerFactory </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#osgi-unmanaged-native');" title="20.15. 非托管本地"> 20.15. 非托管本地 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_bundle_package_imports_3');" title="20.16. Binding 包导入"> 20.16. Binding 包导入 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_obtaining_a_sessionfactory');" title="20.17. 获取 SessionFactory"> 20.17. 获取 SessionFactory </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_optional_modules');" title="20.18. 可选模块"> 20.18. 可选模块 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_extension_points');" title="20.19. 扩展点"> 20.19. 扩展点 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_caveats');" title="20.20. Caveats"> 20.20. Caveats </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers');" title="21. Envers"> 21. Envers </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers-basics');" title="21.1. Basics"> 21.1. Basics </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers-configuration');" title="21.2. 配置属性"> 21.2. 配置属性 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers-additional-mappings');" title="21.3. 其他 MapComments"> 21.3. 其他 MapComments </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers-audit-strategy');" title="21.4. 选择审核策略"> 21.4. 选择审核策略 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers-revisionlog');" title="21.5. 修订日志"> 21.5. 修订日志 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers-tracking-modified-entities-revchanges');" title="21.6. 修订期间修改的跟踪实体名称"> 21.6. 修订期间修改的跟踪实体名称 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers-tracking-properties-changes');" title="21.7. 在属性级别跟踪实体的更改"> 21.7. 在属性级别跟踪实体的更改 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers-tracking-properties-changes-strategy');" title="21.8. 选择用于跟踪属性级别更改的策略"> 21.8. 选择用于跟踪属性级别更改的策略 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers-queries');" title="21.9. Queries"> 21.9. Queries </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#entities-at-revision');" title="21.10. 查询给定版本的类的实体"> 21.10. 查询给定版本的类的实体 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#entities-filtering');" title="21.11. 使用过滤条件查询实体"> 21.11. 使用过滤条件查询实体 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#revisions-of-entity');" title="21.12. 查询修订，给定类的实体已更改"> 21.12. 查询修订，给定类的实体已更改 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers-tracking-properties-changes-queries');" title="21.13. 查询修改了给定属性的实体修订"> 21.13. 查询修改了给定属性的实体修订 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers-tracking-obtain-properties-changed-queries');" title="21.14. 查询实体的修订版，包括已修改的属性名称"> 21.14. 查询实体的修订版，包括已修改的属性名称 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers-tracking-modified-entities-queries');" title="21.15. 查询在给定版本中修改的实体类型"> 21.15. 查询在给定版本中修改的实体类型 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers-querying-entity-relation-joins');" title="21.16. 使用实体关系联接查询实体"> 21.16. 使用实体关系联接查询实体 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers-querying-revision-entities');" title="21.17. 查询修订信息而不加载实体"> 21.17. 查询修订信息而不加载实体 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers-conditional-auditing');" title="21.18. 有条件的审核"> 21.18. 有条件的审核 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers-schema');" title="21.19. 了解 Envers 模式"> 21.19. 了解 Envers 模式 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers-generateschema');" title="21.20. 使用 Hibernate hbm2ddl 工具生成 Envers 模式"> 21.20. 使用 Hibernate hbm2ddl 工具生成 Envers 模式 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers-mappingexceptions');" title="21.21. Mapexception"> 21.21. Mapexception </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_code_onetomany_code_with_code_joincolumn_code');" title="21.22. @OneToMany 和@JoinColumn"> 21.22. @OneToMany 和@JoinColumn </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers-partitioning');" title="21.23. 高级：审核表分区"> 21.23. 高级：审核表分区 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers-partitioning-benefits');" title="21.24. 审核表分区的好处"> 21.24. 审核表分区的好处 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers-partitioning-columns');" title="21.25. 适用于审核表分区的列"> 21.25. 适用于审核表分区的列 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers-partitioning-example');" title="21.26. 审计表分区示例"> 21.26. 审计表分区示例 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers-partitioning-example-column');" title="21.27. 确定合适的分区列"> 21.27. 确定合适的分区列 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers-partitioning-example-scheme');" title="21.28. 确定合适的分区方案"> 21.28. 确定合适的分区方案 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#envers-links');" title="21.29. 启用链接"> 21.29. 启用链接 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#portability');" title="22. 数据库可移植性注意事项"> 22. 数据库可移植性注意事项 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#portability-basics');" title="22.1. 可移植性基础"> 22.1. 可移植性基础 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#portability-dialect');" title="22.2. Dialect"> 22.2. Dialect </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#portability-dialectresolver');" title="22.3. 方言解析"> 22.3. 方言解析 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#portability-idgen');" title="22.4. 标识符生成"> 22.4. 标识符生成 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#portability-functions');" title="22.5. 数据库功能"> 22.5. 数据库功能 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#portability-types');" title="22.6. 类型 Map"> 22.6. 类型 Map </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#statistics');" title="23. Statistics"> 23. Statistics </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#statistics-methods');" title="23.1. org.hibernate.stat.Statistics 方法"> 23.1. org.hibernate.stat.Statistics 方法 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#statistics-query-max-size');" title="23.2. 查询统计信息的最大大小"> 23.2. 查询统计信息的最大大小 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#statistics-query-plan-cache');" title="23.3. 查询计划缓存统计信息"> 23.3. 查询计划缓存统计信息 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations');" title="24. Configurations"> 24. Configurations </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations-strategy');" title="24.1. 策略配置"> 24.1. 策略配置 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations-general');" title="24.2. 常规配置"> 24.2. 常规配置 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations-jpa-compliance');" title="24.3. JPA 合规"> 24.3. JPA 合规 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations-database-connection');" title="24.4. 数据库连接属性"> 24.4. 数据库连接属性 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations-c3p0');" title="24.5. c3p0 属性"> 24.5. c3p0 属性 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations-mapping');" title="24.6. Map 属性"> 24.6. Map 属性 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations-bytecode-enhancement');" title="24.7. 字节码增强属性"> 24.7. 字节码增强属性 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations-query');" title="24.8. 查询设置"> 24.8. 查询设置 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations-batch');" title="24.9. 批处理属性"> 24.9. 批处理属性 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations-logging');" title="24.10. 语句记录和统计"> 24.10. 语句记录和统计 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations-cache');" title="24.11. 缓存属性"> 24.11. 缓存属性 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations-infinispan');" title="24.12. Infinispan 属性"> 24.12. Infinispan 属性 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations-transactions');" title="24.13. 个 Transaction 属性"> 24.13. 个 Transaction 属性 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations-multi-tenancy');" title="24.14. 多租户设置"> 24.14. 多租户设置 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations-hbmddl');" title="24.15. 自动模式生成"> 24.15. 自动模式生成 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations-exception-handling');" title="24.16. 异常处理"> 24.16. 异常处理 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations-session-events');" title="24.17. 会话事件"> 24.17. 会话事件 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations-jmx');" title="24.18. JMX 设置"> 24.18. JMX 设置 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations-jacc');" title="24.19. JACC 设置"> 24.19. JACC 设置 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations-classloader');" title="24.20. ClassLoaders 属性"> 24.20. ClassLoaders 属性 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations-bootstrap');" title="24.21. 引导程序属性"> 24.21. 引导程序属性 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations-misc');" title="24.22. 其他属性"> 24.22. 其他属性 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations-envers');" title="24.23. 启用属性"> 24.23. 启用属性 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations-spatial');" title="24.24. 空间属性"> 24.24. 空间属性 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#configurations-internal');" title="24.25. 内部属性"> 24.25. 内部属性 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#annotations');" title="25. Mapping annotations"> 25. Mapping annotations </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#annotations-jpa');" title="25.1. JPA 注解"> 25.1. JPA 注解 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#annotations-hibernate');" title="25.2. 休眠 Comments"> 25.2. 休眠 Comments </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#best-practices');" title="26. 性能调优和最佳实践"> 26. 性能调优和最佳实践 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#best-practices-schema');" title="26.1. 模式 Management"> 26.1. 模式 Management </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#best-practices-logging');" title="26.2. Logging"> 26.2. Logging </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#best-practices-jdbc-batching');" title="26.3. JDBC 批处理"> 26.3. JDBC 批处理 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#best-practices-mapping');" title="26.4. Mapping"> 26.4. Mapping </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#best-practices-inheritance');" title="26.5. Inheritance"> 26.5. Inheritance </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#best-practices-fetching');" title="26.6. Fetching"> 26.6. Fetching </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#best-practices-caching');" title="26.7. Caching"> 26.7. Caching </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#appendix-legacy-bootstrap');" title="27. Legacy Bootstrapping"> 27. Legacy Bootstrapping </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_migration');" title="28. Migration"> 28. Migration </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#appendix-legacy-domain-model');" title="29. 传统域模型"> 29. 传统域模型 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#appendix-legacy-criteria');" title="30. 旧版休眠标准查询"> 30. 旧版休眠标准查询 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#criteria-creating');" title="30.1. 创建条件实例"> 30.1. 创建条件实例 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#criteria-entity-name');" title="30.2. JPA 与 Hibernate 实体名称"> 30.2. JPA 与 Hibernate 实体名称 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#criteria-narrowing');" title="30.3. 缩小结果集"> 30.3. 缩小结果集 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#criteria-ordering');" title="30.4. Order 结果"> 30.4. Order 结果 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#criteria-associations');" title="30.5. Associations"> 30.5. Associations </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#criteria-dynamicfetching');" title="30.6. 动态关联获取"> 30.6. 动态关联获取 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#criteria-components');" title="30.7. Components"> 30.7. Components </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#criteria-collections');" title="30.8. Collections"> 30.8. Collections </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#criteria-examples');" title="30.9. 查询示例"> 30.9. 查询示例 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#criteria-projection');" title="30.10. 投影，汇总和分组"> 30.10. 投影，汇总和分组 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#criteria-detachedqueries');" title="30.11. 分离的查询和子查询"> 30.11. 分离的查询和子查询 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#query-criteria-naturalid');" title="30.12. 通过自然标识符查询"> 30.12. 通过自然标识符查询 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#appendix-legacy-native-queries');" title="31. 旧版 Hibernate 原生查询"> 31. 旧版 Hibernate 原生查询 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#legacy-sql-named-queries');" title="31.1. 旧式命名 SQL 查询"> 31.1. 旧式命名 SQL 查询 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#legacy-propertyresults');" title="31.2. 旧版返回属性，用于明确指定列/别名"> 31.2. 旧版返回属性，用于明确指定列/别名 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#legacy-sp_query');" title="31.3. 用于查询的旧式存储过程"> 31.3. 用于查询的旧式存储过程 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#legacy-sql-limits-storedprocedures');" title="31.4. 使用存储过程的旧规则/限制"> 31.4. 使用存储过程的旧规则/限制 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#legacy-sql-cud');" title="31.5. 旧版自定义 SQL，用于创建，更新和删除"> 31.5. 旧版自定义 SQL，用于创建，更新和删除 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#legacy-sql-load');" title="31.6. 用于加载的旧版自定义 SQL"> 31.6. 用于加载的旧版自定义 SQL </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/hibernate-orm/5.4/reference/hibernate_user_guide.html#_references');" title="32. References"> 32. References </a> </li>
</ul></div>
</div>
</section>
<div class="right-sidebar">
<div class="affix"><ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-6108808167664152" data-ad-slot="3102929424" data-ad-format="auto" data-full-width-responsive="true"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script></div>
</div>
</div>
<div class="ft">
<a href="#toolbar-title" id="anchorNavigationExGoTop"><i class="fa fa-arrow-up"></i></a>
<footer class="footer">
<div class="footer__container--normal">
<img alt="扫码关注公众号" title="扫码关注公众号" src="static/picture/qr-code.png" width="170" height="170">
<div class="footer__description--normal">
<p class="paragraph footer__author--normal">Docs4dev<sup class="super">&#xAE;</sup>
</p>
<p class="paragraph footer__quote&#45;&#45;normal">
如果你在使用过程中遇到任何问题，可以在 <a href="javascript:window.open('https://github.com/docs4dev/docs4dev-issues');" target="_blank" rel="noopener noreferrer">这里<i class="fa fa-external-link"></i></a> 提issue。
</p>
<div class="footer__main--normal">
<p class="paragraph footer__main__paragraph--normal copyright" style="color: #666 !important;">
<a href="javascript:window.open('https://beian.miit.gov.cn/');">
蜀ICP备14021783号-6
</a>
</p>
<p class="paragraph footer__main__paragraph--normal copyright" style="color: #666 !important;">
Copyright &#xA9; Docs4dev all
right reserved, powered by <a href="index2.html" target="_blank">Docs4dev</a></p>
</div>
</div>
</div>
<div class="box__issues">
</div>
</footer>
</div>
</div>
</div>
</div>
</div>
<script>
  var hasToc = true;
  /*  var downloadable = /!*false*!/ false;
    var editable = /!*false*!/ false;
    var code = /!*"hibernate-orm"*!/ false;
    var version = /!*"5.4"*!/ false;
    var type = /!*"reference"*!/ false;
    var lang = /!*"zh"*!/ 'en';
    //edit link
    require(["gitbook", "jQuery"], function (gitbook, $) {
      gitbook.events.bind('start', function (e, config) {
        // Add edit toolbar to left
        var chapterId = /!*24795*!/ 0;
        if (downloadable) {
          gitbook.toolbar.createButton({
            icon: 'fa fa-download',
            text: '下载',
            onClick: function () {
              window.open('/download?code=' + code + '&version=' + version + '&type=' + type + '&lang=' + lang);
            }
          });
        }
        if (editable) {
          gitbook.toolbar.createButton({
            icon: 'fa fa-edit',
            text: '编辑此页',
            onClick: function () {
              window.open('/docs/edit?chapterId=' + chapterId + '&lang=' + lang);
            }
          });
        }
      });
    });*/
</script>
<script>
    var code = "hibernate-orm";
    var lang = "zh";
  </script>

<script src="static/js/autocomplete-js.js"></script>
<script src="static/js/app.min.js"></script>
<script src="static/js/search.min.js"></script>
</body>
</html>
